import java.util.List;

public class ck
{
  private long a;
  private int b;
  private int c;
  private int d;
  private long e;
  private long f;
  private long g;
  private hz h;
  private int i;
  public String j;
  private int k;
  private boolean l;
  private int m;
  private boolean n;
  private int o;

  public ck(hz paramhz)
  {
    this.a = paramhz.f("RandomSeed");
    this.b = paramhz.e("SpawnX");
    this.c = paramhz.e("SpawnY");
    this.d = paramhz.e("SpawnZ");
    this.e = paramhz.f("Time");
    this.f = paramhz.f("LastPlayed");
    this.g = paramhz.f("SizeOnDisk");
    this.j = paramhz.i("LevelName");
    this.k = paramhz.e("version");
    this.m = paramhz.e("rainTime");
    this.l = paramhz.m("raining");
    this.o = paramhz.e("thunderTime");
    this.n = paramhz.m("thundering");

    if (paramhz.b("Player")) {
      this.h = paramhz.k("Player");
      this.i = this.h.e("Dimension");
    }
  }

  public ck(long paramLong, String paramString) {
    this.a = paramLong;
    this.j = paramString;
  }

  public ck(ck paramck) {
    this.a = paramck.a;
    this.b = paramck.b;
    this.c = paramck.c;
    this.d = paramck.d;
    this.e = paramck.e;
    this.f = paramck.f;
    this.g = paramck.g;
    this.h = paramck.h;
    this.i = paramck.i;
    this.j = paramck.j;
    this.k = paramck.k;
    this.m = paramck.m;
    this.l = paramck.l;
    this.o = paramck.o;
    this.n = paramck.n;
  }

  public hz a() {
    hz localhz = new hz();

    a(localhz, this.h);

    return localhz;
  }

  public hz a(List paramList) {
    hz localhz1 = new hz();

    eb localeb = null;
    hz localhz2 = null;

    if (paramList.size() > 0) localeb = (eb)paramList.get(0);
    if (localeb != null) {
      localhz2 = new hz();
      localeb.d(localhz2);
    }
    a(localhz1, localhz2);

    return localhz1;
  }

  private void a(hz paramhz1, hz paramhz2) {
    paramhz1.a("RandomSeed", this.a);
    paramhz1.a("SpawnX", this.b);
    paramhz1.a("SpawnY", this.c);
    paramhz1.a("SpawnZ", this.d);
    paramhz1.a("Time", this.e);
    paramhz1.a("SizeOnDisk", this.g);
    paramhz1.a("LastPlayed", System.currentTimeMillis());
    paramhz1.a("LevelName", this.j);
    paramhz1.a("version", this.k);
    paramhz1.a("rainTime", this.m);
    paramhz1.a("raining", this.l);
    paramhz1.a("thunderTime", this.o);
    paramhz1.a("thundering", this.n);

    if (paramhz2 != null)
      paramhz1.a("Player", paramhz2);
  }

  public long b()
  {
    return this.a;
  }

  public int c() {
    return this.b;
  }

  public int d() {
    return this.c;
  }

  public int e() {
    return this.d;
  }

  public long f() {
    return this.e;
  }

  public long g() {
    return this.g;
  }

  public int h()
  {
    return this.i;
  }

  public void a(long paramLong)
  {
    this.e = paramLong;
  }

  public void b(long paramLong) {
    this.g = paramLong;
  }

  public void a(int paramInt1, int paramInt2, int paramInt3)
  {
    this.b = paramInt1;
    this.c = paramInt2;
    this.d = paramInt3;
  }

  public void a(String paramString)
  {
    this.j = paramString;
  }

  public int i() {
    return this.k;
  }

  public void a(int paramInt) {
    this.k = paramInt;
  }

  public boolean j()
  {
    return this.n;
  }

  public void a(boolean paramBoolean) {
    this.n = paramBoolean;
  }

  public int k() {
    return this.o;
  }

  public void b(int paramInt) {
    this.o = paramInt;
  }

  public boolean l() {
    return this.l;
  }

  public void b(boolean paramBoolean) {
    this.l = paramBoolean;
  }

  public int m() {
    return this.m;
  }

  public void c(int paramInt) {
    this.m = paramInt;
  }
}